﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Principal.Master" AutoEventWireup="true" CodeBehind="ConstanciaConfirma.aspx.cs" Inherits="SIP.ConstanciaConfirma" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Src="ctrlFecha.ascx" TagName="ctrlFecha" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="App_Themes/TabStyle.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:ScriptManager ID="ScriptManager1" EnableScriptGlobalization="true" EnableScriptLocalization="true" runat="server">
</asp:ScriptManager>

<asp:Table ID="Table2" runat="server" CssClass="Tabla" Width="500" HorizontalAlign="Justify">
        <asp:TableHeaderRow CssClass="TablaHeader">
            <asp:TableHeaderCell ColumnSpan="2">
                Registro Confirma
            </asp:TableHeaderCell>
        </asp:TableHeaderRow>
</asp:Table>

<asp:Table ID="Table4" runat="server" CssClass="Tabla" Width="500"  HorizontalAlign="Justify" BorderWidth="0px">
   <asp:TableRow Height="22px">
            <asp:TableCell>
            </asp:TableCell><asp:TableCell>
            </asp:TableCell></asp:TableRow><asp:TableRow>
         <asp:TableCell>Num.Libro:</asp:TableCell><asp:TableCell>
                <asp:TextBox runat="server" ID="txtLibro" TextMode="SingleLine"  Enabled="False" Width="50" />
            </asp:TableCell><asp:TableCell>Num.Folio:</asp:TableCell><asp:TableCell>
                <asp:TextBox runat="server" ID="txtFolio" TextMode="SingleLine"  Enabled="False"  Width="50" />
            </asp:TableCell><asp:TableCell>Num.Asiento:</asp:TableCell><asp:TableCell>
                <asp:TextBox runat="server" ID="txtAsiento" TextMode="SingleLine"  Enabled="False"   Width="50" />
            </asp:TableCell></asp:TableRow></asp:Table><asp:Table ID="Table5" runat="server" CssClass="Tabla" Width="500px" HorizontalAlign="Justify" BorderWidth="0">
    <asp:TableRow>
            <asp:TableCell>
            </asp:TableCell><asp:TableCell>
            </asp:TableCell></asp:TableRow><asp:TableRow>
        <asp:TableCell>Fecha Confirma:</asp:TableCell><asp:TableCell>
        <uc1:ctrlFecha ID="dtFecha" runat="server" />
        </asp:TableCell><asp:TableCell>Sacerdote:</asp:TableCell><asp:TableCell>
            <asp:DropDownList ID="ddlSacerdote" runat="server" Width="230px">
            </asp:DropDownList>
        </asp:TableCell></asp:TableRow><asp:TableRow></asp:TableRow>
        <asp:TableRow></asp:TableRow>
 </asp:Table>
        
<asp:tabcontainer ID="TabContainer1"   
    runat="server"   
    CssClass="ajax__myTab"  
     Height="238px" width="500px" >  
    <asp:TabPanel ID="tabBautizo" runat="server">  
        <HeaderTemplate>  
            Información Confirma</HeaderTemplate><ContentTemplate> 

 <asp:Table ID="Table1" runat="server" CssClass="Tabla" Width="450" HorizontalAlign="Left">
        <asp:TableHeaderRow CssClass="TablaHeader">
            <asp:TableHeaderCell ColumnSpan="1">
                Datos Confirmando
            </asp:TableHeaderCell></asp:TableHeaderRow></asp:Table><br /><br /><asp:Table ID="Table3" runat="server" CssClass="Tabla" Width="450" HorizontalAlign="Left">
          <asp:TableRow ID="TableRow1" runat="server">
                  <asp:TableCell ID="TableCell1" runat="server">Tipo Identificación</asp:TableCell><asp:TableCell ID="TableCell2" runat="server">
                        <asp:DropDownList ID="ddlTipoIdentificacion" runat="server" CssClass="textEntry"  Width="220px" onselectedindexchanged="ddlTipoIdentificacion_SelectedIndexChanged"  AutoPostBack="True"></asp:DropDownList>
                  </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow2" runat="server">
                  <asp:TableCell ID="TableCell3" runat="server">Identificación</asp:TableCell><asp:TableCell ID="TableCell4" runat="server">
                         <asp:TextBox ID="mskCedula" runat="server" Width="105px" Enabled="False"></asp:TextBox> 
                    <%--  <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="mskCedula"></asp:RequiredFieldValidator>--%>
                         <asp:MaskedEditExtender ID="Cedula" runat="server" MaskType="Number" TargetControlID="mskCedula" Mask="9999999999999999" AutoComplete="False" 
                                CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                                CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                                CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True">
                         </asp:MaskedEditExtender>
                         <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Images/ver.gif"
                                            ValidationGroup="v1" TabIndex="2" OnClick="BuscarConfirmando"/>
                 </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow3" runat="server">
                 <asp:TableCell ID="TableCell5" runat="server">Nombre Completo</asp:TableCell><asp:TableCell ID="TableCell6" runat="server">
                        <asp:TextBox runat="server" ID="txtNombre" Width="320px" Enabled="False" />
                 </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow4" runat="server"></asp:TableRow>
                         <asp:TableRow ID="TableRow21" runat="server">
                 <asp:TableCell ID="TableCell31" runat="server">Fecha Nacimiento</asp:TableCell><asp:TableCell ID="TableCell32" runat="server">
                        <asp:TextBox runat="server" ID="txtFechaNacimiento" Width="120px" Enabled="False" />
                 </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow22" runat="server"></asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>
                Sexo:
                </asp:TableCell><asp:TableCell>
                    <asp:RadioButton ID="rbtnMasculino" runat="server" Text="Masculino" Enabled="False" />
                    <asp:RadioButton ID="rbtnFemenino" runat="server" Text="Femenino"  Enabled="False" />
                </asp:TableCell></asp:TableRow></asp:Table></p></ContentTemplate></asp:TabPanel><asp:TabPanel ID="TabPadres" runat="server">  
      <HeaderTemplate> Información Padres</HeaderTemplate><ContentTemplate>  
 <asp:Table ID="Table8" runat="server" CssClass="Tabla" Width="450" HorizontalAlign="Left">
        <asp:TableHeaderRow CssClass="TablaHeader">
            <asp:TableHeaderCell ColumnSpan="1">
                Datos Madre
            </asp:TableHeaderCell></asp:TableHeaderRow></asp:Table><br /><br /><asp:Table ID="Table9" runat="server" CssClass="Tabla" Width="450" HorizontalAlign="Left">
          <asp:TableRow ID="TableRow9" runat="server">
                  <asp:TableCell ID="TableCell13" runat="server">Tipo Identificación</asp:TableCell><asp:TableCell ID="TableCell14" runat="server">
                        <asp:DropDownList ID="ddlTipoIdentificacionMadre" runat="server" CssClass="textEntry" Width="220px" onselectedindexchanged="ddlTipoIdentificacionMadre_SelectedIndexChanged" AutoPostBack="True"></asp:DropDownList>
                  </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow10" runat="server">
                  <asp:TableCell ID="TableCell15" runat="server">Identificación</asp:TableCell><asp:TableCell ID="TableCell16" runat="server">
                         <asp:TextBox ID="mskCedulaMadre" runat="server" Width="105px" Enabled="False"></asp:TextBox> 
                       <%--  <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="*" ControlToValidate="mskCedulaMadre"></asp:RequiredFieldValidator>--%>
                         <asp:MaskedEditExtender ID="CedulaMadre" runat="server" MaskType="Number" TargetControlID="mskCedulaMadre" Mask="9999999999999999" AutoComplete="False" 
                                CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                                CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                                CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="False">
                         </asp:MaskedEditExtender>
                         <asp:ImageButton ID="ImageButton3" runat="server" ImageUrl="~/Images/ver.gif"
                                            ValidationGroup="v1" TabIndex="2" OnClick="BuscarMadre" />
                 </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow11" runat="server">
                 <asp:TableCell ID="TableCell17" runat="server">Nombre Completo</asp:TableCell><asp:TableCell ID="TableCell18" runat="server">
                        <asp:TextBox runat="server" ID="txtNombreMadre" Width="320px" Enabled="False" />
                 </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow12" runat="server"></asp:TableRow>
  </asp:Table>  
   
 <asp:Table ID="Table10" runat="server" CssClass="Tabla" Width="450" HorizontalAlign="Left">
        <asp:TableHeaderRow CssClass="TablaHeader">
            <asp:TableHeaderCell ColumnSpan="1">
                Datos Padre
            </asp:TableHeaderCell></asp:TableHeaderRow></asp:Table><br /><br /><asp:Table ID="Table11" runat="server" CssClass="Tabla" Width="450" HorizontalAlign="Left">
        <asp:TableRow ID="TableRow13" runat="server">
                        <asp:TableCell ID="TableCell19" runat="server">Tipo Identificación</asp:TableCell><asp:TableCell ID="TableCell20" runat="server">
                        <asp:DropDownList ID="ddlTipoIdentificacionPadre" runat="server" CssClass="textEntry" 
                            Width="220px" AutoPostBack="True"  onselectedindexchanged="ddlTipoIdentificacionPadre_SelectedIndexChanged" ></asp:DropDownList>
                         </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow14" runat="server">
                        <asp:TableCell ID="TableCell21" runat="server">Identificación</asp:TableCell><asp:TableCell ID="TableCell22" runat="server">
                            <asp:TextBox ID="mskCedulaPadre" runat="server" Width="105px" Enabled="False"></asp:TextBox> 
                           <%--   <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*" ControlToValidate="mskCedulaPadre"></asp:RequiredFieldValidator>--%>
                            <asp:MaskedEditExtender ID="CedulaPadre" runat="server" MaskType="Number" TargetControlID="mskCedulaPadre" Mask="9999999999999999" AutoComplete="False" 
                                CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                                CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                                CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True">
                            </asp:MaskedEditExtender>
                            <asp:ImageButton ID="ImageButton4" runat="server" ImageUrl="~/Images/ver.gif"
                                            ValidationGroup="v1" TabIndex="2" OnClick="BuscarPadre" />
                        </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow15" runat="server">
                        <asp:TableCell ID="TableCell23" runat="server">Nombre Completo</asp:TableCell><asp:TableCell ID="TableCell24" runat="server">
                        <asp:TextBox runat="server" ID="txtNombrePadre" Width="320px" Enabled="False" />
                        </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow16" runat="server"></asp:TableRow>
</asp:Table>   

</ContentTemplate></asp:TabPanel><asp:TabPanel ID="TabPadrinos" runat="server">  
      <HeaderTemplate>  
            Información Padrinos</HeaderTemplate><ContentTemplate>  
 <asp:Table ID="Table13" runat="server" CssClass="Tabla" Width="450" HorizontalAlign="Left">
        <asp:TableHeaderRow CssClass="TablaHeader">
            <asp:TableHeaderCell ColumnSpan="1">
                Datos Padrinos
            </asp:TableHeaderCell></asp:TableHeaderRow></asp:Table><br /><br /><asp:Table ID="Table14" runat="server" CssClass="Tabla" Width="450" HorizontalAlign="Left">
        <asp:TableRow ID="TableRow17" runat="server">
                        <asp:TableCell ID="TableCell25" runat="server">Tipo Identificación</asp:TableCell><asp:TableCell ID="TableCell26" runat="server">
                        <asp:DropDownList ID="ddlTipoIdentificacionPadrinos" runat="server" CssClass="textEntry" 
                            Width="220px" AutoPostBack="True"  onselectedindexchanged="ddlTipoIdentificacionPadrinos_SelectedIndexChanged" ></asp:DropDownList>
                         </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow18" runat="server">
                        <asp:TableCell ID="TableCell27" runat="server">Identificación</asp:TableCell><asp:TableCell ID="TableCell28" runat="server">
                            <asp:TextBox ID="mskCedulaPadrinos" runat="server" Width="105px" Enabled="False"></asp:TextBox> 
                            <%--  <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ErrorMessage="*" ControlToValidate="mskCedulaPadrinos"></asp:RequiredFieldValidator>--%>
                            <asp:MaskedEditExtender ID="CedulaPadrinos" runat="server" MaskType="Number" TargetControlID="mskCedulaPadrinos" Mask="9999999999999999" AutoComplete="False" 
                                CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                                CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                                CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True">
                            </asp:MaskedEditExtender>
                            <asp:ImageButton ID="ImageButton5" runat="server" ImageUrl="~/Images/ver.gif"
                                            ValidationGroup="v1" TabIndex="2" OnClick="BuscarPadrinos" />
                        </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow19" runat="server">
                        <asp:TableCell ID="TableCell29" runat="server">Nombre Completo</asp:TableCell><asp:TableCell ID="TableCell30" runat="server">
                        <asp:TextBox runat="server" ID="txtNombrePadrinos" Width="320px" Enabled="False" />
                        </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow20" runat="server"></asp:TableRow>
                                                 <asp:TableRow ID="TableRow5" runat="server">
                 <asp:TableCell ID="TableCell7" runat="server">Fecha Nacimiento</asp:TableCell><asp:TableCell ID="TableCell8" runat="server">
                        <asp:TextBox runat="server" ID="txtFechaNacimientoPadrino" Width="120px" Enabled="False" />
                 </asp:TableCell></asp:TableRow><asp:TableRow ID="TableRow6" runat="server"></asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>
                Sexo:
                </asp:TableCell><asp:TableCell>
                    <asp:RadioButton ID="rbtnMascPad" runat="server" Text="Masculino" Enabled="False" />
                    <asp:RadioButton ID="rbtnFemPad" runat="server" Text="Femenino"  Enabled="False" />
                </asp:TableCell></asp:TableRow></asp:Table></ContentTemplate></asp:TabPanel></asp:tabcontainer><asp:Table ID="Table12" runat="server" CssClass="Tabla" Width="500" HorizontalAlign="Justify">
        <asp:TableRow>
            <asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell></asp:TableCell><asp:TableCell>
                <asp:ImageButton ID="Crear" OnClick="Registrar" runat="server" ImageUrl="~/Images/btn_salvar.gif" />
                &nbsp;&nbsp;&nbsp;
                <asp:ImageButton ID="btnCancelar" runat="server" ImageUrl="~/Images/btn_cancelar.gif"  OnClick="Cancelar" />
            </asp:TableCell></asp:TableRow><asp:TableFooterRow Height="5">
</asp:TableFooterRow></asp:Table>

</asp:Content>